package hcn.protocol.ods.feeinquiry;/**
 * @Auther: Administrator
 * @Date: 2019/10/10 15:52
 * @Description:
 */

import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: zhusm@bsoft.com.cn
 *
 * @Description: 住院费用查询按日期
 *
 * @Create: 2019-10-10 15:52
 **/
@NoArgsConstructor
@Data
@AllArgsConstructor
@Builder
@ToString
public class HospitalizationDetailToDateFeeResponseBean extends BaseNullFee implements Serializable {
    private static final long serialVersionUID = 296041332802695468L;
    /**
     * costAmount : 958.19
     * itemDetails : [{"itemType":"2","itemName":"中药","itemAmount":"449.99","introduce":"项目介绍","itemRemark":"项目备注","itemList":[{"itemName":"清脑降压片","itemQuantity":"10","itemUnit":"盒","itemUnitPrice":"13.5","specifications":"20片/盒","usage":"1片/次 口服","dosage":"1","frequency":"3次/日","itemType":"2"},{"itemName":"益安宁丸","itemQuantity":"13","itemUnit":"盒","itemUnitPrice":"24.23","specifications":"24片/盒","usage":"1片/次 口服","dosage":"1","frequency":"3次/日","itemType":"2"}]},{"itemType":"1","itemName":"西药","itemAmount":"508.2","introduce":"项目介绍","itemRemark":"项目备注","itemList":[{"itemName":"硝苯地平缓释片","itemQuantity":"10","itemUnit":"盒","itemUnitPrice":"28.5","specifications":"30片/盒","usage":"1片/次 口服","dosage":"1","frequency":"3次/日","itemType":"2"},{"itemName":"吲达帕胺","itemQuantity":"12","itemUnit":"盒","itemUnitPrice":"18.6","specifications":"34片/盒","usage":"1片/次 口服","dosage":"1","frequency":"3次/日","itemType":"2"}]}]
     */

    private String costAmount;
    private List<ItemDetailsBean> itemDetails;

    @NoArgsConstructor
    @Data
    public static class ItemDetailsBean {
        /**
         * itemType : 2
         * itemName : 中药
         * itemAmount : 449.99
         * introduce : 项目介绍
         * itemRemark : 项目备注
         * itemList : [{"itemName":"清脑降压片","itemQuantity":"10","itemUnit":"盒","itemUnitPrice":"13.5","specifications":"20片/盒","usage":"1片/次 口服","dosage":"1","frequency":"3次/日","itemType":"2"},{"itemName":"益安宁丸","itemQuantity":"13","itemUnit":"盒","itemUnitPrice":"24.23","specifications":"24片/盒","usage":"1片/次 口服","dosage":"1","frequency":"3次/日","itemType":"2"}]
         */

        private String itemType;
        private String itemName;
        private String itemAmount;
        private String introduce;
        private String itemRemark;
        private List<ItemListBean> itemList;

        @NoArgsConstructor
        @Data
        @AllArgsConstructor
        @Builder
        @ToString
        public static class ItemListBean {
            /**
             * itemName : 清脑降压片
             * itemQuantity : 10
             * itemUnit : 盒
             * itemUnitPrice : 13.5
             * specifications : 20片/盒
             * usage : 1片/次 口服
             * dosage : 1
             * frequency : 3次/日
             * itemType : 2
             */

            private String itemName;
            private String itemQuantity;
            private String itemUnit;
            private String itemUnitPrice;
            private String specifications;
            private String usage;
            private String dosage;
            private String frequency;
            private String itemType;
        }
    }
}
